<template>
  <div>
    <div>{{ list.name }}</div>
    <div>{{ list.address }}</div>
  </div>
</template>
<script>
// import http from '@/util/http'
import obj from '@/util/mixin0bj'
import axios from 'axios'
export default {
  mixins:[obj],
  data() {
    return {
      list:[]
    }
  },
  mounted(){
    axios({
      url: `/gateway/?cinemaId=${this.$route.params.id}&k=8919889`,
      headers: {
        'X-Host':' mall.film-ticket.cinema.info',
      }
    }).then(res=>{
      console.log(res.data.data.cinema);
      this.list = res.data.data.cinema
    })
  }
}
</script>